module.exports = {
    publicPath: './',
    lintOnSave: false, // 关闭ESLint检查
    devServer: {
        host: "0.0.0.0",
        port: "8081", // 前端开发服务器端口设置为8081，避免与后端8080冲突
        proxy: {
            '/api': {
                target: 'http://localhost:8080',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/api'
                }
            }
        }

    },
};